

const systemRouters = [
  {
    path: '/system',
    meta: {
      title: '系统设置',
      icon: 'Menu',
    },
    component: () => import("@/layout/index.vue"),
    children: [
      {
        path: '/system/userAccount',
        name: 'system-userAccount',
        meta: {
          title: '管理员列表',
          icon: 'User',
          code:'admin-user'
        },
        component: () => import('@/views/system/userAccount/index.vue'),
      },
      {
        path: '/system/operationLog',
        name: 'system-operationLog',
        meta: {
          title: '操作日志',
          icon: 'ChatLineSquare',
          code:'admin-logs'
        },
        component: () => import('@/views/system/operationLog/index.vue'),
      },

      {
        path: '/system/projectList',
        name: 'system-projectList',
        meta: {
          title: '项目列表',
          icon: 'ChatLineSquare',
          code:'admin-project'
        },
        component: () => import('@/views/system/projectList/index.vue'),
      },

      {
        path: '/system/permissionsList',
        name: 'system-permissionsList',
        meta: {
          title: '权限列表',
          icon: 'Promotion',
          code:'admin-permission'
        },
        component: () => import('@/views/system/permissionsList/index.vue'),
      },

      {
        path: '/system/permissionsGroup',
        name: 'system-permissionsGroup',
        meta: {
          title: '权限组列表',
          icon: 'Promotion',
          code:'admin-group'
        },
        component: () => import('@/views/system/permissionsGroup/index.vue'),
      },
    ],
  },
];

export default systemRouters;
